#pragma once
#include "Brick.h"

class BrickList
{
protected:
	int _brickNum;
	int _maxBrickNum;
	Brick** _bricks;

public:
	BrickList(void);
	BrickList(int maxBrickNum);
	~BrickList(void);

	void Add(Brick brick);
	void Add(int x,int y, int Width, int Height, LPD3DXSPRITE spritehandler, LPDIRECT3DTEXTURE9 image);
	Brick* Get(int index);
	void Delete(int index);

	void Render();
};

